NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A TB23
Limitations to Menu Item Size under Menu Manager

Q Does the Menu Manager have a problem when handling menu items with strings that are between 251 and 255 characters long? I have noticed that calling DeleteMenuItem mangles the menu data when handling menu items with strings with these many characters.

A Yes, this is a problem (but has not been documented in any Inside Macintosh Volumes). The Menu Manager assumes that a menu item is not bigger than 250 characters, so please don't use menu items with more than 250 characters.

[Sep 27 1996]


Developer Documentation | Technical Notes | Development Kits | Sample Code